package Springboot.service;

import Springboot.Utils.Result;
import Springboot.domain.NewsHeadline;
import Springboot.domain.news.pojo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author mazhenxi
* @description 针对表【news_headline】的数据库操作Service
* @createDate 2024-09-03 17:51:19
*/
public interface NewsHeadlineService extends IService<NewsHeadline> {


    Result findNewsPage(pojo page);

    Result showHeadlineDetail(Integer id);

    Result publish(NewsHeadline newsHeadline,String token);

    Result newsHeadlineService(Integer hid);

    Result update(NewsHeadline newsHeadline);

    Result removeByHid(Integer hid);
}
